// File:    Sinhvien.cs
// Author:  Administrator
// Created: Thursday, March 20, 2014 8:00:03 AM
// Purpose: Definition of Class Sinhvien

using System;

public class Sinhvien
{
   public string maSV;
   public string holot;
   public string ten;
   public string goitinh;
   public DateTime ngaysinh;
   public string noisinh;
   
   public System.Collections.Generic.List<Monhoc> Diemthi;
   public Khoa thuoc;
   
   /// <summary>
   /// Property for Khoa
   /// </summary>
   /// <pdGenerated>Default opposite class property</pdGenerated>
   public Khoa Thuoc
   {
      get
      {
         return thuoc;
      }
      set
      {
         if (this.thuoc == null || !this.thuoc.Equals(value))
         {
            if (this.thuoc != null)
            {
               Khoa oldKhoa = this.thuoc;
               this.thuoc = null;
               oldKhoa.RemoveCo(this);
            }
            if (value != null)
            {
               this.thuoc = value;
               this.thuoc.AddCo(this);
            }
         }
      }
   }

}